﻿using System;
using System.Collections.Generic;

namespace Entities
{
    [Serializable]
    public class ChiTietDonHangNCC
    {
        private string hanhdong;
        private string maDonDatHangNCC;
        private string maHangHoa;
        private string tenHangHoa;
        private string soLuong;
        private string gia;
        private string pttrietkhau;
        private string thue;
        private string tongtien;
        private string ghiChu;
        private bool deleted;
        public ChiTietDonHangNCC()
        { }

        public ChiTietDonHangNCC(string hanhdong,string maDonDatHangNCC,string maHangHoa, string tenHangHoa, string soLuong, string gia,string pttrietkhau, string thue, string tongtien)
        {
            this.hanhdong = hanhdong;
            this.maDonDatHangNCC = maDonDatHangNCC;
            this.maHangHoa = maHangHoa;
            this.tenHangHoa = tenHangHoa;
            this.soLuong = soLuong;
            this.gia = gia;
            this.pttrietkhau = pttrietkhau;
            this.thue = thue;
            this.tongtien = tongtien;
        }  
        
        public ChiTietDonHangNCC(string maDonDatHangNCC, string maHangHoa, string tenHangHoa, string soLuong, string ghiChu, bool deleted)
        {
            this.maDonDatHangNCC = maDonDatHangNCC;
            this.maHangHoa = maHangHoa;
            this.tenHangHoa = tenHangHoa;
            this.soLuong = soLuong;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }

        public string HanhDong
        {
            get { return this.hanhdong; }
            set
            {
                this.hanhdong = value;
            }
        }
        public string MaDonDatHangNCC
        {
            get { return this.maDonDatHangNCC; }
            set
            {

                this.maDonDatHangNCC = value;
            }
        }
        public string MaHDBanHang
        {
            get { return this.maHangHoa; }
            set
            {
                this.maHangHoa = value;
            }
        }
        public string MaHangHoa
        {
            get { return this.maHangHoa; }
            set
            {

                this.maHangHoa = value;
            }
        }
        public string TenHangHoa
        {
            get { return this.tenHangHoa; }
            set { this.tenHangHoa = value; }
        }
        public string SoLuong
        {
            get { return this.soLuong; }
            set
            {
                this.soLuong = value;
            }
        }
        public string Thue
        {
            get { return this.thue; }
            set
            {
                this.thue = value;
            }
        }
        public string Gia
        {
            get { return this.gia; }
            set
            {
                this.gia = value;
            }
        }
        public string PTTrietKhau
        {
            get { return this.pttrietkhau; }
            set
            {
                this.pttrietkhau = value;
            }
        }
        public string TongTien
        {
            get { return this.tongtien; }
            set
            {
                this.tongtien = value;
            }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }

    }
}